package com.wumart.scaffold.web.base.datasource.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author wangwc@wumart.com
 * @version v1.0.0
 * @date 2021/1/19 19:22
 */

@Data
@Configuration
@ConfigurationProperties(value = "spring.datasource.druid.g6")
public class G6DuridProperty {


    private String url;

    private String username;

    private String password;

    private String driverClassName;

    private String filters;

    private Integer initialSize;

    private Integer minIdle;

    private Integer maxActive;

    private Integer maxWait;

    private Integer timeBetweenEvictionRunsMillis;

    private Integer minEvictableIdleTimeMillis;

    private String validationQuery;

    private Boolean testWhileIdle;

    private Boolean testOnBorrow;

    private Boolean testOnReturn;

    private Boolean poolPreparedStatements;

    private Integer maxPoolPreparedStatementPerConnectionSize;
}
